<?
class testModel extends iMVC_Model{

   public $_table='admin'; 
   public $_pk='admin_id';
   public $a=1;

   public static function getInstanceByPk($value){
   
        parent::getInstanceByPk(self::$_table,self::$_pk,$value);
        $n=new self();
        return $n;
   
   }

}


// vim600:ts=4 st=4 foldmethod=marker foldmarker=<<<,>>>
// vim600:syn=php commentstring=//%s
